<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Lucar注册页面</title>
</head>

<link rel="stylesheet" type="text/css" href="lucar-css/head-css.css" />
<link rel="stylesheet" type="text/css" href="lucar-css/register-css.css" />

<body>
	<div id="head">
    	<div id="h-logo">
        	<img src="lucar-image/logo.png" class="hl">
        </div>
        <div id="h-right">
        	<span id="hr-useCar" class="hr-span" onmouseover="headimg(1);" onMouseOut="headimg(2);">
            	<img id="uCOut" src="lucar-image/useCar-Out.png" class="hr-image" style="display:block">
            	<img id="uCOn" src="lucar-image/useCar-On.png" class="hr-image" style="display:none">
            </span>
            <span id="hr-aboutUs" class="hr-span" onmouseover="headimg(3);" onMouseOut="headimg(4);">
            	<img id="aUOut" src="lucar-image/aboutUs-Out.png" class="hr-image" style="display:block">
            	<img id="aUOn" src="lucar-image/aboutUs-On.png" class="hr-image" style="display:none">
            </span>
            <span id="register" class="button" onMouseOver="headbutton(1);" onMouseOut="headbutton(2);"><b class="hr-text">注册</b></span>
            <span id="login" class="button" onMouseOver="headbutton(3);" onMouseOut="headbutton(4);"><b class="hr-text">登录</b></span>
        </div>
    </div>
    <div id="register-body">
    	<form id="rb-list">
        	<div class="textwindow">
            	<p>用户名：</p>
                <div class="textwindow2">
                	<input type="text" name="userId" value="" id="userId" class="inputcss"/>
                </div>
                <span id="uID1" class="information">你的用户名过长，不允许注册！</span>
                <span id="uID2" class="information">你的用户名存在中文，不允许注册！</span>
                <span id="uID3" class="information">用户名不能为空！</span>
            </div>
            <div class="textwindow">
            	<p>密码：</p>
                <div class="textwindow2">
                	<input type="password" name="uPassword" value="" id="uPassword" class="inputcss"/>
                </div>
                <span id="uP1" class="information">密码不能为空！</span>
            </div>
            <div class="textwindow">
            	<p>姓名：</p>
                <div class="textwindow2">
                	<input type="text" name="name" value="" id="name" class="inputcss"/>
                </div>
                <span id="n1" class="information">姓名不能为空！</span>
            </div>
            <div class="textwindow">
            	<p>性别：</p>
                <div class="sex">
                	<input type="radio" name="sex" value="man" checked="checked" />男
                    <input type="radio" name="sex" value="woman" />女
                </div>
                <p style="margin-left:250px;">年龄：</p>
                <div class="textwindow2" style="width:270px; margin-left:310px;">
                	<input type="text" name="age" value="" id="age" class="inputcss" style="width:260px;"/>
                </div>
                <span id="a1" class="information">请正经填写年龄！</span>
            </div>
            <div class="textwindow">
            	<p>电话：</p>
                <div class="textwindow2">
                	<input type="text" name="phone" value="" id="phone" class="inputcss"/>
                </div>
                <span id="p1" class="information">电话不能为空！</span>
                <span id="p2" class="information">请正经填写电话！</span>
            </div>
            <div class="textwindow">
            	<p>身份证号：</p>
                <div class="textwindow2">
                	<input type="text" name="icNo" value="" id="icNo" class="inputcss" />
                </div>
                <span id="iN1" class="information">身份证号不能为空！</span>
                <span id="iN2" class="information">请正经填写身份证！</span>
            </div>
            <div class="textwindow">
            	<p>驾驶证号：</p>
                <div class="textwindow2">
                	<input type="text" name="dlNo" value="" id="dlNo" class="inputcss"/>
                </div>
                <span id="dN1" class="information">驾驶证号不能为空！</span>
                <span id="dN2" class="information">请正经填写驾驶证号！</span>
            </div>
            <div id="Read">
            	<input type="checkbox" id="read" />
                我已同意<a href="#">《Lucar用户使用协议》</a>和<a href="#">《Lucar账号中心规范》</a>
            </div>
            <div id="rbutton">
        		<span>注册</span>
        	</div>
        </form>
        <img src="lucar-image/register-image/registericon.png" width="100px" height="60px" style="position:absolute; left:435px;"/>
    </div>
</body>

<script src="lucar-script/jquery-3.2.1.min.js"></script>
<script src="lucar-script/head-script.js"></script>
<script src="lucar-script/register-script.js"></script>
<script type="text/javascript">
window.onload = function(){
	function box(){
		var oBox = document.getElementById("register-body");
		var L1 = oBox.offsetWidth;
		var Left = (document.documentElement.clientWidth-L1)/2;
		oBox.style.left = Left+'px';
	}
	box();
	window.onresize = function(){
        box();
    }
}
</script>

</html>
